package com.job.springSea.work0722;

/**
 * @author 于春海
 * @version 1.0
 * @since 2022-07-23 13:20:46
 */
public class WithoutNullException extends Exception{
    private String message;
    private Integer code;

    public WithoutNullException() {
    }

    public WithoutNullException(String message, Integer code) {
        this.message = message;
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}